package com.fortune.service;

import com.faneui.common.exception.BusinessException;
import com.fortune.dal.model.Bank;

import java.util.List;

public interface BankService {

    void addBank(Bank bank) throws BusinessException;

    void modifyBank(Bank bank) throws BusinessException ;

    Bank queryBank(Integer bankId)throws BusinessException ;

    Bank queryBankByName(String name) throws BusinessException ;

    List<Bank> queryBankList(Bank bank)throws BusinessException ;
    
}
